export default [
    {
        path: "/index",
        name: "/index",
        hidden: 0,
        meta: {
            title: "首页",
            keepAlive: 0,
            icon: "home",
            permission: []
        },
        component: "/index/Index"
    },

    {
        path: "/manage",
        name: "/manage",
        hidden: 0,
        meta: {
            title: "管理",
            keepAlive: 0,
            icon: "manage",
            permission: []
        },
        component: null,
        children: [

            {
                path: "/manage/user/index",
                name: "/manage/user/index",
                hidden: 0,
                meta: {
                    title: "员工列表",
                    keepAlive: 0,
                    icon: "",
                    activePath: ['/manage/role/index'],
                    permission:[
                        {
                            "title": "新增",
                            "icon": null,
                            "action": "add"
                        },
                        {
                            "title": "编辑",
                            "icon": null,
                            "action": "edit"
                        },
                        {
                            "title": "删除",
                            "icon": null,
                            "action": "delete"
                        }
                    ]
                },
                children: [
                    {
                        path: "/manage/user/index123",
                        name: "/manage/user/index123",
                        hidden: 0,
                        meta: {
                            title: "首页1233",
                            keepAlive: 0,
                            icon: "home",
                            permission: []
                        },
                        component: "/index/Index"
                    },
                    {
                        path: "/manage/user/add",
                        name: "/manage/user/add",
                        hidden: 0,
                        meta: {
                            title: "首页add",
                            keepAlive: 0,
                            icon: "home",
                            permission: []
                        },
                        component: "/index/Index"
                    }
                ],
                component: "/index/Index"
            },
            {
                path: "/manage/role/index",
                name: "/manage/role/index",
                hidden: 1,
                meta: {
                    title: "角色列表",
                    keepAlive: 0,
                    icon: "",
                    permission:[
                        {
                            "title": "新增",
                            "icon": null,
                            "action": "add"
                        },
                        {
                            "title": "编辑",
                            "icon": null,
                            "action": "edit"
                        },
                        {
                            "title": "删除",
                            "icon": null,
                            "action": "delete"
                        }
                    ]
                },
                component: "/user/Login"
            }

        ]
    },
]